import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ApprovalComponent } from './approval.component';
import { StepsComponent } from '../handle/steps/steps.component';

const routes: Routes = [
  { 
    path:'',  
    component:ApprovalComponent,
  },
  {
    path: 'steps/:id/:type',
    component: StepsComponent
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class ApprovalRoutingModule { }
